﻿using UnityEngine;
using System.Collections;

public class Damage
{
	public Character hiter_sc;
	public Character hited_sc;
	public bool Miss;					//是否命中
	public int Hurt;					//伤害量，负数表示治疗
	public bool Crit;					//是否暴击
	public int Buff_id;					//附加的buff

	public Damage(Character hitersc, Character hitedsc, int hurt, bool crit = false, int buff_id = 0)
	{
		hiter_sc = hitersc;
		hited_sc = hitedsc;
		Miss = false;
		Hurt = hurt;
		Crit = crit;
		Buff_id = buff_id;
	}
}
